<?php

namespace App\Http\Requests\API;

use App\Models\CarAuthLog;
use InfyOm\Generator\Request\APIRequest;

class CreateCarAuthLogAPIRequest extends APIRequest
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'park_code' => 'bail|required|array|max:50',
//            'username' => 'required',
//            'cardo' => 'required',
//            'type' => 'required',
//            'vpl_number' => 'bail|required|string|max:50',
//            'mobile' => 'required',
//            'address' => 'required',
//            'validbtime' => 'reuqired',
//            'validatime' => 'required',
//            'operator' => 'required',
//            'email' => 'required',
//            'share' => 'required',
//            'share_count' => 'required',
//            'serial_no' => 'required',
//            'priority' => 'required',
        ];
    }
}
